Pod::Spec.new do |s|
  s.name             = 'YXComponent'
  s.version          = '1.0.4'
  s.summary          = '这是一个测试UILabel 分类库 YXComponent.'

  s.description      = <<-DESC
测试一下 添加了一个UILabel的分类库文件
                       DESC
  #码云的仓库地址                  
  s.homepage         = 'https://gitee.com/Yanqf'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'yqf' => '176036417@qq.com' }
  s.source           = { :git => 'https://gitee.com/Yanqf/YXComponent.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

   # iOS 最低支持版本
  s.platform     = :ios, "9.0"
  
  # 是否需要ARC自动管理内存
  s.requires_arc = true

  # s.source_files = 'YXComponent/Classes/**/*'

  s.default_subspec = "Core"
  s.subspec "Core" do |c|
    c.source_files = 'YXComponent/Classes/**/*'
  end

  s.subspec 'UILabel' do |c|
    c.source_files = 'YXComponent/Classes/UILabel/**/*'
  end

  s.subspec 'UIView' do |c|
    c.source_files = 'YXComponent/Classes/UIView/**/*'
  end

  
  # s.resource_bundles = {
  #   'YXComponent' => ['YXComponent/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
